<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <style>
    html,
    body,
    p {
      padding: 0;
      margin: 0;
    }
    .wrap {
      display: flex;
    }
    .item {
      width: 0;
      flex: 1;
      margin-right: 5px;
      background-color: brown;
    }
  </style>
  <div class="wrap">
    <div class="item">left</div>
    <div class="item">
      <p>center</p>
      <p>center</p>
      <p>center</p>
      <p>center</p>
      <p>center</p>
      <p>center</p>
    </div>
    <div class="item">right</div>
  </div>
</body>
</html>